-
Notifications
You must be signed in to change notification settings - Fork 29.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build: make lint-ci work properly on Linux make #19746
Conversation
and /cc @nodejs/build |
I didn't know that we run linters on FreeBSD so yeah, this is probably just a quirk of gmake on FreeBSD. |
PR-URL: #19746 Reviewed-By: Joyee Cheung <[email protected]>
Looks like the commit sha is not posted here: c5928ab |
PR-URL: nodejs#19746 Reviewed-By: Joyee Cheung <[email protected]>
Backporting this. Let's hope it's not a problem. |
PR-URL: nodejs#19746 Reviewed-By: Joyee Cheung <[email protected]>
PR-URL: #19746 Reviewed-By: Joyee Cheung <[email protected]>
@ryzokuken thanks for the backport on this, would you mind having a go for 6.x too? once we get full coverage of all of the active branches then we can properly implement changes in CI. |
PR-URL: #19746 Reviewed-By: Joyee Cheung <[email protected]>
I want to ditch the FreeBSD 10 machines from running node-test-lint and just get the jenkins-workspace machines to do it. Unfortunately it doesn't work because it seems we're using a quirk of
gmake
that ships with FreeBSD 10.$(wildcard test/addons/??_*/*.cc test/addons/??_*/*.h)
is executed whenMakefile
is loaded, and before the body oflint-addon-docs
is executed. So in a pristine clone it expands to nothing, since those files are created bytest/addons/.docbuildstamp
which is a direct dependency oflint-addon-docs
(it'd probably be OK if that was done before the call to$(MAKE) lint-addon-docs
but thenmake lint-addon-docs
as a stand-alone wouldn't work)./cc @bnoordhuis who last tried to touch this stuff when attempting a refactor in d9b59de which was subsequently reverted
/cc @joyeecheung who introduced part of this functionality in #16377 and may have more of a clue than me about why this only seems to work on the FreeBSD 10
linter
hosts